package com.jumi.microservice.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * @author Scw
 * @Date 2020-08-04 17:56
 */
@TableName("comment")
public class Comment implements Serializable {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 用户id
     */
    private Long uid;
    /**
     * 商品skuid
     */
    private Integer gid;
    private Integer orderId;
    private Integer spuGid;
    private String userName;
    /**
     * 服务态度:1-5星
     */
    private Integer serviceAttitude;
    /**
     * 快递包装 1-5星
     */
    private Integer expressPackaging;
    /**
     * 物流服务 1-5星
     */
    private Integer logisticsServices;
    /**
     * 产品满意度 1-5星
     */
    private Integer productSatisfaction;
    /**
     * 评论内容
     */
    private String content;
    /**
     * 评论图片，多张图片以 ；分割
     */
    private String images;
    /**
     * 是否匿名 ： 0 否 1是
     */
    private Byte isAnonymous;
    /**
     * 是否隐藏 0 否 1是
     */
    private Byte isHide;
    /**
     * 管理员回复
     */
    private String reply;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 更新时间
     */
    private Date updateTime;
    /**
     * 是否有评论图片0 ： 否 1是
     */
    private Byte isImages;
    /**
     * 是否是回头客 0 ： 否 1是
     */
    private Byte isRepeatCustomers;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Long getUid() {
        return uid;
    }

    public void setUid(Long uid) {
        this.uid = uid;
    }

    public Integer getGid() {
        return gid;
    }

    public void setGid(Integer gid) {
        this.gid = gid;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public Integer getSpuGid() {
        return spuGid;
    }

    public void setSpuGid(Integer spuGid) {
        this.spuGid = spuGid;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Integer getServiceAttitude() {
        return serviceAttitude;
    }

    public void setServiceAttitude(Integer serviceAttitude) {
        this.serviceAttitude = serviceAttitude;
    }

    public Integer getExpressPackaging() {
        return expressPackaging;
    }

    public void setExpressPackaging(Integer expressPackaging) {
        this.expressPackaging = expressPackaging;
    }

    public Integer getLogisticsServices() {
        return logisticsServices;
    }

    public void setLogisticsServices(Integer logisticsServices) {
        this.logisticsServices = logisticsServices;
    }

    public Integer getProductSatisfaction() {
        return productSatisfaction;
    }

    public void setProductSatisfaction(Integer productSatisfaction) {
        this.productSatisfaction = productSatisfaction;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getImages() {
        return images;
    }

    public void setImages(String images) {
        this.images = images;
    }

    public Byte getIsAnonymous() {
        return isAnonymous;
    }

    public void setIsAnonymous(Byte isAnonymous) {
        this.isAnonymous = isAnonymous;
    }

    public Byte getIsHide() {
        return isHide;
    }

    public void setIsHide(Byte isHide) {
        this.isHide = isHide;
    }

    public String getReply() {
        return reply;
    }

    public void setReply(String reply) {
        this.reply = reply;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Byte getIsImages() {
        return isImages;
    }

    public void setIsImages(Byte isImages) {
        this.isImages = isImages;
    }

    public Byte getIsRepeatCustomers() {
        return isRepeatCustomers;
    }

    public void setIsRepeatCustomers(Byte isRepeatCustomers) {
        this.isRepeatCustomers = isRepeatCustomers;
    }
}
